package cn.compose.online.dao;

import cn.compose.online.entity.CodeHistory;
import cn.compose.online.entity.CodeHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CodeHistoryMapper {
    long countByExample(CodeHistoryExample example);

    int deleteByExample(CodeHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CodeHistory record);

    int insertSelective(CodeHistory record);

    List<CodeHistory> selectByExampleWithBLOBs(CodeHistoryExample example);

    List<CodeHistory> selectByExample(CodeHistoryExample example);

    CodeHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CodeHistory record, @Param("example") CodeHistoryExample example);

    int updateByExampleWithBLOBs(@Param("record") CodeHistory record, @Param("example") CodeHistoryExample example);

    int updateByExample(@Param("record") CodeHistory record, @Param("example") CodeHistoryExample example);

    int updateByPrimaryKeySelective(CodeHistory record);

    int updateByPrimaryKeyWithBLOBs(CodeHistory record);

    int updateByPrimaryKey(CodeHistory record);
}